package com.suning.sawp.po.commodity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 
 * 〈接受大数据mq推送的商品数据〉<br>
 * 〈功能详细描述〉
 *
 * @author 12061748
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@Entity(name = "MSS_COMMODITY_BPP")
public class BppCommodityInfo implements Serializable {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -1143243168323136000L;

    private Long id;
    
    /**
     * 活动id
     */
    private String activityId;
    
    /**
     * 商品编码
     */
    private String commCode;
    
    /**
     * 商品名称
     */
    private String partName;
    
    /**
     * 商家编码
     */
    private String mertCode;
    
    /**
     * 活动开始时间
     */
    private Date gbBeginDate;
    
    /**
     * 活动结束时间
     */
    private Date gbEndDate;
    
    /**
     * 活动价（扫码价）
     */
    private String gbPrice;
    
    /**
     * 易购价
     */
    private String payPrice;
    
    /**
     * 节省价格
     */
    private String cutPrice;
    

    /**
     * 详情地址
     */
    private String detailUrl;
    
    /**
     * 二维码地址
     */
    private String qrcodeUrl;
    
    /**
     * 渠道编码
     */
    private String categCode;
    
    /**
     * 商品图片地址
     */
    private String imageUrl;

    /**
     * 创建时间
     */
    private Date createTime;

    @Column(name = "ID")
    @Id
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Column(name = "ACT_ID")
    public String getActivityId() {
        return activityId;
    }

    public void setActivityId(String activityId) {
        this.activityId = activityId;
    }

    @Column(name = "COMM_CODE")
    public String getCommCode() {
        return commCode;
    }

    public void setCommCode(String commCode) {
        this.commCode = commCode;
    }

    @Column(name = "MERT_CODE")
    public String getMertCode() {
        return mertCode;
    }

    public void setMertCode(String mertCode) {
        this.mertCode = mertCode;
    }

    @Column(name = "GB_PRICE")
    public String getGbPrice() {
        return gbPrice;
    }

    @Column(name = "BEGIN_DATE")
    public Date getGbBeginDate() {
        return gbBeginDate;
    }

    public void setGbBeginDate(Date gbBeginDate) {
        this.gbBeginDate = gbBeginDate;
    }

    @Column(name = "END_DATE")
    public Date getGbEndDate() {
        return gbEndDate;
    }

    public void setGbEndDate(Date gbEndDate) {
        this.gbEndDate = gbEndDate;
    }

    public void setGbPrice(String gbPrice) {
        this.gbPrice = gbPrice;
    }

    @Column(name = "PAY_PRICE")
    public String getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(String payPrice) {
        this.payPrice = payPrice;
    }

    public String getCutPrice() {
        return cutPrice;
    }

    public void setCutPrice(String cutPrice) {
        this.cutPrice = cutPrice;
    }

    public String getDetailUrl() {
        return detailUrl;
    }

    public void setDetailUrl(String detailUrl) {
        this.detailUrl = detailUrl;
    }

    @Column(name = "PART_NAME")
    public String getPartName() {
        return partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getQrcodeUrl() {
        return qrcodeUrl;
    }

    public void setQrcodeUrl(String qrcodeUrl) {
        this.qrcodeUrl = qrcodeUrl;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    @Column(name = "CREATE_TIME")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Column(name = "CATEG_CODE")
    public String getCategCode() {
        return categCode;
    }

    public void setCategCode(String categCode) {
        this.categCode = categCode;
    }

}
